#!/usr/bin/evn python

TEMPLATE_DIRECTORY = 'templates/'

ADMIN_EMAILS = ['austin.abrams', 'robert.pless', 'adina.stoica', 'brandontkerr']

PI = 3.1415926535

# if two correspondences have the same (u,v) coordinate, and they are
# this far apart in meters, they are to be considered as the same 
# correspondence.
CORRESPONDENCE_EQUALITY_METERS = 1

# URLS to connect to AMOS.
AMOS_DIR_LIST_URL = 'http://amosweb.cse.wustl.edu/month_of_images'
AMOS_URL_TO_ID = 'http://amosweb.cse.wustl.edu/url2id?url='
AMOS_ID_TO_URL = 'http://amosweb.cse.wustl.edu/id2url?id='

# the number of scenes to show during the browse page.
RESULTS_PER_PAGE = 12;

# at the bottom of the browse page, the pages are listed as:
#  f ... p c n ... l
#  f is first page, p is previous page, n is next page, l is last page.
# these constants define how many of each of these tabs to have.
FIRST_PAGES = 2;
LAST_PAGES = 2;
PREV_PAGES = 2;
NEXT_PAGES = 2;


# The minimum number of correspondences required to calibrate a scene.
CORRESPONDENCES_REQUIRED_FOR_CALIBRATION = 6;
CORRESPONDENCES_REQUIRED_FOR_PTZ_CALIBRATION = 6;
